/**
 * 作者：陈文斌 on 2019/1/7.
 * 邮箱：chen_wennbin@163.com
 * 版本：v1.0
 */

import 'package:json_annotation/json_annotation.dart';

part 'page_info_model.g.dart';

@JsonSerializable()
class PageInfoModel extends Object with _$PageInfoModelSerializerMixin {
  String ids;
  String keyword;
  String orderBy;
  int skip;
  int take;
  int total;
  int totalPage;
  int currPage;
  String responseDate;

  PageInfoModel(
    this.ids,
    this.keyword,
    this.orderBy,
    this.skip,
    this.take,
    this.total,
    this.totalPage,
    this.currPage,
    this.responseDate,
  );

  @override
  factory PageInfoModel.fromJson(Map<String, dynamic> json) =>
      _$PageInfoModelFromJson(json);
}
